$(info --- FILE: external.mk)

$(info Host architecture $(BR2_HOSTARCH))
$(info Building for architecture $(INGENIC_ARCH))
$(info SOC_VENDOR: $(SOC_VENDOR))
$(info SOC_FAMILY: $(SOC_FAMILY))
$(info SOC_FAMILY_CAPS: $(SOC_FAMILY_CAPS))
$(info SOC_MODEL: $(SOC_MODEL))
$(info SOC_MODEL_LESS_Z: $(SOC_MODEL_LESS_Z))
$(info SOC_RAM: $(SOC_RAM))

$(info BR2_TOOLCHAIN_EXTERNAL_URL: $(BR2_TOOLCHAIN_EXTERNAL_URL))

$(info KERNEL_VERSION: $(KERNEL_VERSION))
$(info KERNEL_SITE: $(KERNEL_SITE))
$(info KERNEL_BRANCH: $(KERNEL_BRANCH))
$(info KERNEL_HASH: $(shell git ls-remote $(KERNEL_SITE) $(KERNEL_BRANCH) | head -1 | cut -f1))
$(info KERNEL_TARBALL_URL: $(KERNEL_TARBALL_URL))

$(info SENSOR_MODEL: $(SENSOR_MODEL))

$(info AVPU_CLK: $(AVPU_CLK))
$(info AVPU_CLK_SRC: $(AVPU_CLK_SRC))
$(info ISP_CLK: $(ISP_CLK))
$(info ISP_CLK_SRC: $(ISP_CLK_SRC))
$(info ISP_CLKA_CLK: $(ISP_CLKA_CLK))
$(info ISP_CLKA_SRC: $(ISP_CLKA_SRC))
$(info ISP_MEMOPT: $(ISP_MEMOPT))
$(info ISP_DAY_NIGHT_SWITCH_DROP_FRAME_NUM: $(ISP_DAY_NIGHT_SWITCH_DROP_FRAME_NUM))
$(info ISP_CH0_PRE_DEQUEUE_TIME: $(ISP_CH0_PRE_DEQUEUE_TIME))
$(info ISP_CH0_PRE_DEQUEUE_INTERRUP_PROCESS: $(ISP_CH0_PRE_DEQUEUE_INTERRUPT_PROCESS))
$(info ISP_CH0_PRE_DEQUEUE_VALID_LINES: $(ISP_CH0_PRE_DEQUEUE_VALID_LINES))

$(info FLASH_SIZE: $(FLASH_SIZE))

$(info UBOOT_BOARDNAME: $(UBOOT_BOARDNAME))
$(info UBOOT_REPO: $(UBOOT_REPO))
$(info UBOOT_REPO_BRANCH: $(UBOOT_REPO_BRANCH))
$(info UBOOT_REPO_VERSION: $(UBOOT_REPO_VERSION))
$(info BR2_PACKAGE_THINGINO_UBOOT_BOARDNAME: $(BR2_PACKAGE_THINGINO_UBOOT_BOARDNAME))
$(info BR2_PACKAGE_THINGINO_UBOOT_FORMAT_CUSTOM_NAME: $(BR2_PACKAGE_THINGINO_UBOOT_FORMAT_CUSTOM_NAME))

$(info STREAMER: $(STREAMER))

$(info SDK_VERSION: $(SDK_VERSION))
$(info SDK_LIBC_NAME: $(SDK_LIBC_NAME))
$(info SDK_LIBC_VERSION: $(SDK_LIBC_VERSION))
$(info BR2_LIBC_NAME: $(BR2_LIBC_NAME))

$(info Building using $(BR2_LIBC_NAME) with $(SDK_LIBC_NAME) libs for GCC $(SDK_LIBC_VERSION) toolchain from $(SDK_VERSION) SDK)

ifneq ($(BR2_SOC_INGENIC_DUMMY),y)
# include makefiles from packages
include $(sort $(wildcard $(BR2_EXTERNAL)/package/*/*.mk))
endif
